<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>EOS.IO: contracts/eoslib/token.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_3fea0bf1ce879ce73e6ecec98007efcd.html">eoslib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">token.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="token_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="math_8hpp.html">eoslib/math.hpp</a>&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="print_8hpp.html">eoslib/print.hpp</a>&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceeos.html">eos</a> {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> NumberType, u<span class="keywordtype">int</span>64_t CurrencyType = N(eos) &gt;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structeos_1_1token.html">   60</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structeos_1_1token.html">token</a> {</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a185ffd9fee7a6383ef028c3a4d7c2dee">   65</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> <a class="code" href="structeos_1_1token.html#a185ffd9fee7a6383ef028c3a4d7c2dee">currency_type</a> = CurrencyType;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#ada7226b583058a8209db2267375ff2d9">   71</a></span>&#160;    <a class="code" href="structeos_1_1token.html#ada7226b583058a8209db2267375ff2d9">token</a>(){}</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a8d162f3708ec76236f37e74a9a9d0f49">   78</a></span>&#160;    <span class="keyword">explicit</span> <a class="code" href="structeos_1_1token.html#a8d162f3708ec76236f37e74a9a9d0f49">token</a>( NumberType v ):<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>(v){};</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">   84</a></span>&#160;    NumberType <a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> = 0;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a40d6e8c526c6b1050f7b3e3e18db2952">   93</a></span>&#160;    <a class="code" href="structeos_1_1token.html">token</a>&amp; <a class="code" href="structeos_1_1token.html#a40d6e8c526c6b1050f7b3e3e18db2952">operator-=</a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a ) {</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;      <a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>( quantity &gt;= a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>, <span class="stringliteral">&quot;integer underflow subtracting token balance&quot;</span> );</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;      quantity -= a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;      <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    }</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a400602797c1a859ab0e43b7b1faf6225">  106</a></span>&#160;    <a class="code" href="structeos_1_1token.html">token</a>&amp; <a class="code" href="structeos_1_1token.html#a400602797c1a859ab0e43b7b1faf6225">operator+=</a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a ) {</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;      <a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>( quantity + a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> &gt;= a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>, <span class="stringliteral">&quot;integer overflow adding token balance&quot;</span> );</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;      quantity += a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;      <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    }</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a3a4ba798d742ab3bb7c6d16a0e823ca2">  120</a></span>&#160;    <span class="keyword">inline</span> <span class="keyword">friend</span> <a class="code" href="structeos_1_1token.html">token</a> <a class="code" href="structeos_1_1token.html#a3a4ba798d742ab3bb7c6d16a0e823ca2">operator+</a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) {</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;      <a class="code" href="structeos_1_1token.html">token</a> result = a;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;      result += b;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;      <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    }</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a9070e8ee2d1bf7cae8438fceb0efcb51">  134</a></span>&#160;    <span class="keyword">inline</span> <span class="keyword">friend</span> <a class="code" href="structeos_1_1token.html">token</a> <a class="code" href="structeos_1_1token.html#a9070e8ee2d1bf7cae8438fceb0efcb51">operator-</a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) {</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;      <a class="code" href="structeos_1_1token.html">token</a> result = a;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;      result -= b;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;      <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    }</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a6b52167a67ce0bac1f928747ce1247fb">  147</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#a6b52167a67ce0bac1f928747ce1247fb">operator &lt;= </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) { <span class="keywordflow">return</span> a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> &lt;= b.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>; }</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#acba3f114f474466a7c6c8a77b88723df">  156</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#acba3f114f474466a7c6c8a77b88723df">operator &lt;  </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) { <span class="keywordflow">return</span> a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> &lt;  b.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>; }</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#abf600f9ac9c421e3bf284577acd22547">  165</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#abf600f9ac9c421e3bf284577acd22547">operator &gt;= </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) { <span class="keywordflow">return</span> a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> &gt;= b.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>; }</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a8b91c489658673e83721c460cb922df5">  174</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#a8b91c489658673e83721c460cb922df5">operator &gt;  </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) { <span class="keywordflow">return</span> a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> &gt;  b.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>; }</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#ac4ae7b7680fa4bd2c09be5c29571dd91">  183</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#ac4ae7b7680fa4bd2c09be5c29571dd91">operator == </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) { <span class="keywordflow">return</span> a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> == b.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>; }</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a688813be9dc1e8f175d19ef1ffca4f6e">  191</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#a688813be9dc1e8f175d19ef1ffca4f6e">operator != </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1token.html">token</a>&amp; b ) { <span class="keywordflow">return</span> a.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a> != b.<a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>; }</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#a3783762ae9a1dd9c5bd4d6cacf1b15ac">  198</a></span>&#160;    <span class="keyword">explicit</span> <span class="keyword">operator</span> bool()<span class="keyword">const </span>{ <span class="keywordflow">return</span> quantity != 0; }</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structeos_1_1token.html#ac4eefc768d2958253adf9971a138e199">  204</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="structeos_1_1token.html#ac4eefc768d2958253adf9971a138e199">print</a>() {</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;      <a class="code" href="namespaceeos.html#a1df73defa04d39763089df7faa35a934">eosio::print</a>( quantity, <span class="stringliteral">&quot; &quot;</span>, <a class="code" href="structeos_1_1_name.html">Name</a>(CurrencyType) );</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    }</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;  };</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> BaseToken, <span class="keyword">typename</span> QuoteToken&gt;</div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="structeos_1_1price.html">  249</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structeos_1_1price.html">price</a></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;  {</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a05476d75e3da2435489d4360ae0aa9c8">  251</a></span>&#160;    <span class="keyword">typedef</span> BaseToken  <a class="code" href="structeos_1_1price.html#a05476d75e3da2435489d4360ae0aa9c8">base_token_type</a>;</div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a60368826b12afaaf30f7690c32ee2e39">  252</a></span>&#160;    <span class="keyword">typedef</span> QuoteToken <a class="code" href="structeos_1_1price.html#a60368826b12afaaf30f7690c32ee2e39">quote_token_type</a>;</div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#acc37f49e03b96f6ca1642a937280a533">  260</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> precision = 1000ll*1000ll*1000ll*1000ll*1000ll;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#ae065041d8a85bab01681306d194f9e2b">  267</a></span>&#160;    <a class="code" href="structeos_1_1price.html#ae065041d8a85bab01681306d194f9e2b">price</a>():base_per_quote(1ul){}</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a2e9d2f29e776e784a2001526694c4b11">  275</a></span>&#160;    <a class="code" href="structeos_1_1price.html#a2e9d2f29e776e784a2001526694c4b11">price</a>( BaseToken base, QuoteToken quote ) {</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;      <a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>( base  &gt;= BaseToken(1ul), <span class="stringliteral">&quot;invalid price&quot;</span> );</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;      <a class="code" href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a>( quote &gt;= QuoteToken(1ul), <span class="stringliteral">&quot;invalid price&quot;</span> );</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;      base_per_quote = base.quantity;</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;      base_per_quote *= precision;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;      base_per_quote /= quote.quantity;</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    }</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div><div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a00f8a553edbab3956c82bdd37d435395">  291</a></span>&#160;    <span class="keyword">friend</span> QuoteToken operator / ( BaseToken b, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; q ) {</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;      <a class="code" href="namespaceeos.html#a1df73defa04d39763089df7faa35a934">eosio::print</a>( <span class="stringliteral">&quot;operator/ &quot;</span>, <a class="code" href="structeos_1_1uint128.html">uint128</a>(b.quantity), <span class="stringliteral">&quot; * &quot;</span>, <a class="code" href="structeos_1_1uint128.html">uint128</a>( precision ), <span class="stringliteral">&quot; / &quot;</span>, q.base_per_quote, <span class="stringliteral">&quot;\n&quot;</span> );</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;      <span class="keywordflow">return</span> QuoteToken( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>((<a class="code" href="structeos_1_1uint128.html">uint128</a>(b.quantity) * <a class="code" href="structeos_1_1uint128.html">uint128</a>(precision)   / q.base_per_quote)) );</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    }</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#ab3db8af0092dbe87a5dab8505052a750">  303</a></span>&#160;    <span class="keyword">friend</span> BaseToken operator * ( <span class="keyword">const</span> QuoteToken&amp; b, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; q ) {</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;      <a class="code" href="namespaceeos.html#a1df73defa04d39763089df7faa35a934">eosio::print</a>( <span class="stringliteral">&quot;b: &quot;</span>, b, <span class="stringliteral">&quot; \n&quot;</span> );</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;      <a class="code" href="namespaceeos.html#a1df73defa04d39763089df7faa35a934">eosio::print</a>( <span class="stringliteral">&quot;operator* &quot;</span>, <a class="code" href="structeos_1_1uint128.html">uint128</a>(b.quantity), <span class="stringliteral">&quot; * &quot;</span>, <a class="code" href="structeos_1_1uint128.html">uint128</a>( q.base_per_quote ), <span class="stringliteral">&quot; / &quot;</span>, precision, <span class="stringliteral">&quot;\n&quot;</span> );</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;      <span class="comment">//return QuoteToken( uint64_t( mult_div_i128( b.quantity, q.base_per_quote, precision ) ) );</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;      <span class="keywordflow">return</span> BaseToken( <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>((b.quantity * q.base_per_quote) / precision) );</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    }</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a9a92923bb6a379671facc88b8f33e1f8">  317</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#a6b52167a67ce0bac1f928747ce1247fb">operator &lt;= </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; b ) { <span class="keywordflow">return</span> a.base_per_quote &lt;= b.base_per_quote; }</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#aa6a0b37090470580bca05624bd5da0a3">  326</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#acba3f114f474466a7c6c8a77b88723df">operator &lt;  </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; b ) { <span class="keywordflow">return</span> a.base_per_quote &lt;  b.base_per_quote; }</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#aa0f3fb89fde51f4f9b728e51b459abf6">  335</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#abf600f9ac9c421e3bf284577acd22547">operator &gt;= </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; b ) { <span class="keywordflow">return</span> a.base_per_quote &gt;= b.base_per_quote; }</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a1d386990660f40b6cd35f5da903b9d3e">  344</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#a8b91c489658673e83721c460cb922df5">operator &gt;  </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; b ) { <span class="keywordflow">return</span> a.base_per_quote &gt;  b.base_per_quote; }</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;</div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a64a97e029f909397f7e93ae9f18c0f92">  353</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#ac4ae7b7680fa4bd2c09be5c29571dd91">operator == </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; b ) { <span class="keywordflow">return</span> a.base_per_quote == b.base_per_quote; }</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#afb4eb2338acf95c043151f4f35b99432">  362</a></span>&#160;    <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structeos_1_1token.html#a688813be9dc1e8f175d19ef1ffca4f6e">operator != </a>( <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; a, <span class="keyword">const</span> <a class="code" href="structeos_1_1price.html">price</a>&amp; b ) { <span class="keywordflow">return</span> a.base_per_quote != b.base_per_quote; }</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="structeos_1_1price.html#a28ea75d4c606d22e2c0473daccfe504f">  368</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="structeos_1_1price.html#a28ea75d4c606d22e2c0473daccfe504f">print</a>() {</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;      <a class="code" href="namespaceeos.html#a1df73defa04d39763089df7faa35a934">eosio::print</a>( base_per_quote, <span class="stringliteral">&quot;.&quot;</span>, <span class="stringliteral">&quot; &quot;</span>, <a class="code" href="structeos_1_1_name.html">Name</a>(base_token_type::currency_type), <span class="stringliteral">&quot;/&quot;</span>, <a class="code" href="structeos_1_1_name.html">Name</a>(quote_token_type::currency_type)  );</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    }</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;  <span class="keyword">private</span>:</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <a class="code" href="structeos_1_1uint128.html">eosio::uint128</a> base_per_quote;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;  };</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;</div><div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="group__tokens.html#gad7688ac4dfe873f7c66e2664bbd861f9">  386</a></span>&#160;  <span class="keyword">typedef</span> <a class="code" href="structeos_1_1token.html">eosio::token&lt;uint64_t,N(eos)&gt;</a>   <a class="code" href="group__tokens.html#gad7688ac4dfe873f7c66e2664bbd861f9">Tokens</a>;</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div><div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="group__tokens.html#gad77b3245541366876c8e87b9d36a3059">  403</a></span>&#160;  <span class="keyword">struct </span>PACKED (Transfer) {</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> action_type = <a class="code" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(transfer);</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a>  from;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a>  to;</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    Tokens       <a class="code" href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">quantity</a>;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <span class="keyword">const</span> <a class="code" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> memo_length = 0;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;  };</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;}</div><div class="ttc" id="structeos_1_1price_html_a60368826b12afaaf30f7690c32ee2e39"><div class="ttname"><a href="structeos_1_1price.html#a60368826b12afaaf30f7690c32ee2e39">eosio::price::quote_token_type</a></div><div class="ttdeci">QuoteToken quote_token_type</div><div class="ttdef"><b>Definition:</b> token.hpp:252</div></div>
<div class="ttc" id="group__types_html_gaba7bc1797add20fe3efdf37ced1182c5"><div class="ttname"><a href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a></div><div class="ttdeci">unsigned char uint8_t</div><div class="ttdef"><b>Definition:</b> types.h:22</div></div>
<div class="ttc" id="group__types_html_gaf9c1edb0e0da55ec6ba09f32f6839529"><div class="ttname"><a href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a></div><div class="ttdeci">#define N(X)</div><div class="ttdoc">used to generate a compile time uint64_t from the base32 encoded string interpretation of X ...</div><div class="ttdef"><b>Definition:</b> types.hpp:58</div></div>
<div class="ttc" id="structeos_1_1price_html_a28ea75d4c606d22e2c0473daccfe504f"><div class="ttname"><a href="structeos_1_1price.html#a28ea75d4c606d22e2c0473daccfe504f">eosio::price::print</a></div><div class="ttdeci">void print()</div><div class="ttdoc">Prints as string. </div><div class="ttdef"><b>Definition:</b> token.hpp:368</div></div>
<div class="ttc" id="group__systemcapi_html_gae2a6ebaf48fe7c69f847ae18f109d09a"><div class="ttname"><a href="group__systemcapi.html#gae2a6ebaf48fe7c69f847ae18f109d09a">assert</a></div><div class="ttdeci">void assert(uint32_t test, const char *cstr)</div><div class="ttdoc">Aborts processing of this message and unwinds all pending changes. </div></div>
<div class="ttc" id="print_8hpp_html"><div class="ttname"><a href="print_8hpp.html">print.hpp</a></div></div>
<div class="ttc" id="group__types_html_gad67b43dc23285b01176f4c181c59fc23"><div class="ttname"><a href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a></div><div class="ttdeci">uint64_t AccountName</div><div class="ttdef"><b>Definition:</b> types.h:24</div></div>
<div class="ttc" id="structeos_1_1token_html_a688813be9dc1e8f175d19ef1ffca4f6e"><div class="ttname"><a href="structeos_1_1token.html#a688813be9dc1e8f175d19ef1ffca4f6e">eosio::token::operator!=</a></div><div class="ttdeci">friend bool operator!=(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Inequality comparison operator. </div><div class="ttdef"><b>Definition:</b> token.hpp:191</div></div>
<div class="ttc" id="structeos_1_1_name_html"><div class="ttname"><a href="structeos_1_1_name.html">eosio::Name</a></div><div class="ttdoc">wraps a uint64_t to ensure it is only passed to methods that expect a Name </div><div class="ttdef"><b>Definition:</b> types.hpp:70</div></div>
<div class="ttc" id="structeos_1_1token_html_a40d6e8c526c6b1050f7b3e3e18db2952"><div class="ttname"><a href="structeos_1_1token.html#a40d6e8c526c6b1050f7b3e3e18db2952">eosio::token::operator-=</a></div><div class="ttdeci">token &amp; operator-=(const token &amp;a)</div><div class="ttdoc">Subtracts quantity of token from this object. </div><div class="ttdef"><b>Definition:</b> token.hpp:93</div></div>
<div class="ttc" id="group__types_html_gaaa5d1cd013383c889537491c3cfd9aad"><div class="ttname"><a href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a></div><div class="ttdeci">unsigned long long uint64_t</div><div class="ttdef"><b>Definition:</b> types.h:17</div></div>
<div class="ttc" id="structeos_1_1token_html_a9070e8ee2d1bf7cae8438fceb0efcb51"><div class="ttname"><a href="structeos_1_1token.html#a9070e8ee2d1bf7cae8438fceb0efcb51">eosio::token::operator-</a></div><div class="ttdeci">friend token operator-(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Subtracts quantity of two tokens and return a new token. </div><div class="ttdef"><b>Definition:</b> token.hpp:134</div></div>
<div class="ttc" id="structeos_1_1price_html"><div class="ttname"><a href="structeos_1_1price.html">eosio::price</a></div><div class="ttdoc">Defines a fixed precision price between two tokens. </div><div class="ttdef"><b>Definition:</b> token.hpp:249</div></div>
<div class="ttc" id="structeos_1_1token_html_ada7226b583058a8209db2267375ff2d9"><div class="ttname"><a href="structeos_1_1token.html#ada7226b583058a8209db2267375ff2d9">eosio::token::token</a></div><div class="ttdeci">token()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> token.hpp:71</div></div>
<div class="ttc" id="structeos_1_1token_html"><div class="ttname"><a href="structeos_1_1token.html">eosio::token</a></div><div class="ttdoc">a uint64_t wrapper with checks for proper types and over/underflows. </div><div class="ttdef"><b>Definition:</b> token.hpp:60</div></div>
<div class="ttc" id="structeos_1_1token_html_a185ffd9fee7a6383ef028c3a4d7c2dee"><div class="ttname"><a href="structeos_1_1token.html#a185ffd9fee7a6383ef028c3a4d7c2dee">eosio::token::currency_type</a></div><div class="ttdeci">static const uint64_t currency_type</div><div class="ttdoc">Type of the currency. </div><div class="ttdef"><b>Definition:</b> token.hpp:65</div></div>
<div class="ttc" id="structeos_1_1token_html_a3daddb64094c45d8f51897aabd44ba3d"><div class="ttname"><a href="structeos_1_1token.html#a3daddb64094c45d8f51897aabd44ba3d">eosio::token::quantity</a></div><div class="ttdeci">NumberType quantity</div><div class="ttdoc">Quantity of tokens available. </div><div class="ttdef"><b>Definition:</b> token.hpp:84</div></div>
<div class="ttc" id="structeos_1_1token_html_a8d162f3708ec76236f37e74a9a9d0f49"><div class="ttname"><a href="structeos_1_1token.html#a8d162f3708ec76236f37e74a9a9d0f49">eosio::token::token</a></div><div class="ttdeci">token(NumberType v)</div><div class="ttdoc">Constructor for token given quantity of tokens available. </div><div class="ttdef"><b>Definition:</b> token.hpp:78</div></div>
<div class="ttc" id="structeos_1_1price_html_a2e9d2f29e776e784a2001526694c4b11"><div class="ttname"><a href="structeos_1_1price.html#a2e9d2f29e776e784a2001526694c4b11">eosio::price::price</a></div><div class="ttdeci">price(BaseToken base, QuoteToken quote)</div><div class="ttdoc">Construction for price given the base token and quote token. </div><div class="ttdef"><b>Definition:</b> token.hpp:275</div></div>
<div class="ttc" id="structeos_1_1price_html_ae065041d8a85bab01681306d194f9e2b"><div class="ttname"><a href="structeos_1_1price.html#ae065041d8a85bab01681306d194f9e2b">eosio::price::price</a></div><div class="ttdeci">price()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> token.hpp:267</div></div>
<div class="ttc" id="structeos_1_1price_html_a05476d75e3da2435489d4360ae0aa9c8"><div class="ttname"><a href="structeos_1_1price.html#a05476d75e3da2435489d4360ae0aa9c8">eosio::price::base_token_type</a></div><div class="ttdeci">BaseToken base_token_type</div><div class="ttdef"><b>Definition:</b> token.hpp:251</div></div>
<div class="ttc" id="group__tokens_html_gad7688ac4dfe873f7c66e2664bbd861f9"><div class="ttname"><a href="group__tokens.html#gad7688ac4dfe873f7c66e2664bbd861f9">eosio::Tokens</a></div><div class="ttdeci">eosio::token&lt; uint64_t, N(eos)&gt; Tokens</div><div class="ttdoc">Defines eos tokens. </div><div class="ttdef"><b>Definition:</b> token.hpp:386</div></div>
<div class="ttc" id="math_8hpp_html"><div class="ttname"><a href="math_8hpp.html">math.hpp</a></div></div>
<div class="ttc" id="namespaceeos_html"><div class="ttname"><a href="namespaceeos.html">eos</a></div><div class="ttdef"><b>Definition:</b> math.hpp:8</div></div>
<div class="ttc" id="structeos_1_1token_html_acba3f114f474466a7c6c8a77b88723df"><div class="ttname"><a href="structeos_1_1token.html#acba3f114f474466a7c6c8a77b88723df">eosio::token::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Less than comparison operator. </div><div class="ttdef"><b>Definition:</b> token.hpp:156</div></div>
<div class="ttc" id="structeos_1_1token_html_a8b91c489658673e83721c460cb922df5"><div class="ttname"><a href="structeos_1_1token.html#a8b91c489658673e83721c460cb922df5">eosio::token::operator&gt;</a></div><div class="ttdeci">friend bool operator&gt;(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Greater than comparison operator. </div><div class="ttdef"><b>Definition:</b> token.hpp:174</div></div>
<div class="ttc" id="structeos_1_1token_html_abf600f9ac9c421e3bf284577acd22547"><div class="ttname"><a href="structeos_1_1token.html#abf600f9ac9c421e3bf284577acd22547">eosio::token::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Greater than or equal to comparison operator. </div><div class="ttdef"><b>Definition:</b> token.hpp:165</div></div>
<div class="ttc" id="namespaceeos_html_a1df73defa04d39763089df7faa35a934"><div class="ttname"><a href="namespaceeos.html#a1df73defa04d39763089df7faa35a934">eosio::print</a></div><div class="ttdeci">void print(const char *ptr)</div><div class="ttdoc">Prints string. </div><div class="ttdef"><b>Definition:</b> print.hpp:19</div></div>
<div class="ttc" id="structeos_1_1token_html_ac4eefc768d2958253adf9971a138e199"><div class="ttname"><a href="structeos_1_1token.html#ac4eefc768d2958253adf9971a138e199">eosio::token::print</a></div><div class="ttdeci">void print()</div><div class="ttdoc">Print as string. </div><div class="ttdef"><b>Definition:</b> token.hpp:204</div></div>
<div class="ttc" id="structeos_1_1token_html_a3a4ba798d742ab3bb7c6d16a0e823ca2"><div class="ttname"><a href="structeos_1_1token.html#a3a4ba798d742ab3bb7c6d16a0e823ca2">eosio::token::operator+</a></div><div class="ttdeci">friend token operator+(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Adds quantity of two tokens and return a new token. </div><div class="ttdef"><b>Definition:</b> token.hpp:120</div></div>
<div class="ttc" id="structeos_1_1token_html_a400602797c1a859ab0e43b7b1faf6225"><div class="ttname"><a href="structeos_1_1token.html#a400602797c1a859ab0e43b7b1faf6225">eosio::token::operator+=</a></div><div class="ttdeci">token &amp; operator+=(const token &amp;a)</div><div class="ttdoc">Adds quantity of token to this object. </div><div class="ttdef"><b>Definition:</b> token.hpp:106</div></div>
<div class="ttc" id="structeos_1_1token_html_ac4ae7b7680fa4bd2c09be5c29571dd91"><div class="ttname"><a href="structeos_1_1token.html#ac4ae7b7680fa4bd2c09be5c29571dd91">eosio::token::operator==</a></div><div class="ttdeci">friend bool operator==(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Equality comparison operator. </div><div class="ttdef"><b>Definition:</b> token.hpp:183</div></div>
<div class="ttc" id="structeos_1_1uint128_html"><div class="ttname"><a href="structeos_1_1uint128.html">eosio::uint128</a></div><div class="ttdoc">A struct that wraps uint128 integer and defines common operator overloads. </div><div class="ttdef"><b>Definition:</b> math.hpp:66</div></div>
<div class="ttc" id="structeos_1_1token_html_a6b52167a67ce0bac1f928747ce1247fb"><div class="ttname"><a href="structeos_1_1token.html#a6b52167a67ce0bac1f928747ce1247fb">eosio::token::operator&lt;=</a></div><div class="ttdeci">friend bool operator&lt;=(const token &amp;a, const token &amp;b)</div><div class="ttdoc">Less than or equal to comparison operator. </div><div class="ttdef"><b>Definition:</b> token.hpp:147</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
